package com.cloud.code.单例模式;

public enum Season {
    Spring("春天","春暖花开");

    private final String seasonName;
    private final String seasonDes;

    Season(String seasonName, String seasonDes) {
        this.seasonName = seasonName;
        this.seasonDes = seasonDes;
    }
}

class Test{
    public static void main(String[] args) {
        Season spring = Season.Spring;
        System.out.println(spring);
    }
}
